projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
922fea6
)
don't use options from a previous filter when the new filter has no options.
author
tsteven4
<tsteven4@gmail.com>
Sat, 15 Mar 2014 17:58:55 +0000
(17:58 +0000)
committer
tsteven4
<tsteven4@gmail.com>
Sat, 15 Mar 2014 17:58:55 +0000
(17:58 +0000)
gpsbabel/filter_vecs.cc
patch
|
blob
|
history
diff --git
a/gpsbabel/filter_vecs.cc
b/gpsbabel/filter_vecs.cc
index fc60503bc9a5ce1837c1d55fb60ec864d323759f..a2709847b841bbd6b19b9b8e8f7e1ba3c286cf04 100644
(file)
--- a/
gpsbabel/filter_vecs.cc
+++ b/
gpsbabel/filter_vecs.cc
@@
-209,6
+209,8
@@
find_filter_vec(char* const vecname, char** opts)
}
}
}
+ } else {
+ *opts = NULL;
}
if (opts && opts[0] && !found) {
warning("'%s' is an unknown option to %s.\n", *opts, vec->name);